package com.usian.service;

import com.usian.pojo.Commodity;

import java.util.List;

public interface CommodityService {
    List<Commodity> findAll();

    List<Commodity> findAllAnd();

    Commodity findById(Integer cid);

    void saveUser(Commodity commodity);

    void updateUser(Commodity commodity);

    void del(Integer cid);

    List<Commodity> querystatus();

    String chaxun(String cname);

    void updateByCStart(Commodity commodity);

    void updateByCStartTo(Commodity commodity);

    void check(Integer cid);

    void shangjia(Integer cid);

    void xiajia(Integer cid);
}
